package com.elangzhi.ssm.model;

import com.elangzhi.ssm.model.base.BaseModel;

public class Type  extends BaseModel {
    private Long id;

    private String name;

    private String icon;

    /**
     * 分类类型
     * 1，商品分类
     */
    private String type;

    /**
     * 上级id
     * 0,123,345,567.....
     */
    private String parentIds;

    public Type(Long id, String name, String icon, String type, String parentIds) {
        this.id = id;
        this.name = name;
        this.icon = icon;
        this.type = type;
        this.parentIds = parentIds;
    }

    public Type() {
        super();
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getIcon() {
        return icon;
    }

    public void setIcon(String icon) {
        this.icon = icon;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getParentIds() {
        return parentIds;
    }

    public void setParentIds(String parentIds) {
        this.parentIds = parentIds;
    }
}